MJ
asked on
JS Regex for optional Characters?
What's the JS regex for the below where I can have "we" and then possibly some characters followed by ".bank.com?:
wedev.bank.com
weqa.bank.com
weuat.bank.com
westage.bank.com
we.bank.com
Thanks!
wedev.bank.com
weqa.bank.com
weuat.bank.com
westage.bank.com
we.bank.com
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
^we\w*?\.bank\.com
Good point!
ASKER