Link to home
Start Free TrialLog in
Avatar of dandrzejewski
dandrzejewski

asked on

Combining Regular Expressions

We're using a script to parse files, and we would like to combine some regular expressions:

sed s/" "/""/g | sed s/,/\",\"/g | sed s/"^"/\"/g | sed s/"$"/\"/g


Is there a way to combine this into one regular expression?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of gabeso
gabeso
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial