(?<=(\b(tsp|tbsp|oz|fl oz|cup|pt|qt|gal|lb|lbs|g|kg|L|mL|ds|pn|smdg|min|dr\.|lg\.|med\.|sm\.|lg|petit|sq\.|loaf|can|box|stalks|tin|square)\b))\s
I'd like to find each word in the list, count the characters and then add the appropriate number of characters to pad the line with a total of ten characters made up of the found word and a number of non breaking spaces to equal 10 characters total.
Example;
lbs Text
kg Text
smdg Text
Can someone point me to an example or provide some direction
Thanks
Jeff
--
You received this message because you are subscribed to the Google Groups "TextSoap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to textsoap+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/textsoap/2212064a-81e2-41fe-a8bf-2266733056f1n%40googlegroups.com.