Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged regex
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway!
This code looks for the Yen since within a <span></span...
0
563
posted 12 years ago by cpres
The regular expression must be in non-literal notation; so replace all backslashes with two backslashes (e.g. ^\w+$ -> ^\\w+$).
All searches are case insensitive; you can change this by removing the ‘i’ flag in the plugin.
1
680
posted 13 years ago by aelesbao
« Prev 1 Next »