Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>\w+</code> Is a regular expression that will match only alphanumeric characters, and the underscore. I will try to show a strict solution to the examples you give and a more general that might be the one that also works for you.</p> <p>Since you like to match other characters, which are not included in the <code>w</code> group, you should make a custom group, adding the special characters you need. To form a group, you write it between brackets []. To add characters to the group just write them one after another, except the <code>-</code> since it can define a range, you have to put it in front. For the first example, you need to match characters like the parenthesis and plus sign, that are special for regex, so have to be escaped. For + -> use + For ( -> use ( So the regex for the first example would start looking like this: <code>[\w\(\)\+]+</code> For a cheatsheet on regex, you can look at: <a href="http://www.cs.tut.fi/~jkorpela/perl/regexp.html" rel="nofollow">Cheat sheet</a> or <a href="http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/" rel="nofollow">downloadable</a> After adding the - sign at the beginning to avoid ranges, and the other escaped and non-escaped characters. A group that would match both strings would look like:</p> <p><code>[-\w\/\?:=\.\s!\(\)"\+]+</code></p> <p>Since this is complicated and you seem to want to get almost anything as a title I recommend the special group <code>.</code> since it includes any character, except newline.</p> <p>The regexp will look very simply: <code>.+</code></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload