View Post

Regular Expressions

In Cheat Sheets by Hoani Bryson

// Literal characters re = /hello/; re = /hello/i; // Metacharacter Symbols re = /^h/i; // ^ - Must start with re = /orld$/i; // $ - Must end with ...