hi! need help..
here's the sample data I need to mask
10653 KIMOLA WAY to
10653-Kimola-Way
here's another example:
# 1006 12069 Harris Rd to
#1006-12069-Harris-Rd
another example:
# 42 22308 124 AVE to
#42-22308-124-Ave
so the idea is
remove space between # and suite number
for example # 42 --->> #42;
remove the spaces in between the other number and characters to "-"
for example # 42 22308 124 Ave ---->> 22308-124-Ave
change uppercase to sentence case
for example 10653 KIMOLA WAY ---->> 10653-Kimola-Way
what's the best way to do this?
thanks
here's the sample data I need to mask
10653 KIMOLA WAY to
10653-Kimola-Way
here's another example:
# 1006 12069 Harris Rd to
#1006-12069-Harris-Rd
another example:
# 42 22308 124 AVE to
#42-22308-124-Ave
so the idea is
remove space between # and suite number
for example # 42 --->> #42;
remove the spaces in between the other number and characters to "-"
for example # 42 22308 124 Ave ---->> 22308-124-Ave
change uppercase to sentence case
for example 10653 KIMOLA WAY ---->> 10653-Kimola-Way
what's the best way to do this?
thanks
Comment