Home » PHP » PHP Strings » Question
  1. Which among the following is/are not a metacharacter?
    1. \B
    2. \a
    3. \A
    4. \b
    5. None of these
Correct Option: B

/A, /b and /B are metacharacters. \A: Matches only at the beginning of the string. \b: Matches a word boundary. \B: Matches anything but a word boundary.



Your comments will be displayed only after manual approval.