Link to home
Start Free TrialLog in
Avatar of KPax
KPax

asked on

Two RegEx conditions in one

If I have two RegEx how do I properly join them in one?

   value = value.replace(/\n/g, ",");
   value = value.replace(/\s/g, ",");

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

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
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