Skip to main content

Regex to search for "$form" with a maximum of two array indexes, the last of which is optional

Main navigation

  • Home
  • Information index

User account menu

  • Log in

Useful links

  • Curated dev resources
  • Roleaf - web hosting
  • Archive.org
  • Repair Wiki
  • Repair Preservation Group
  • Project Farm - detailed product comparisons
  • Tyre Reviews
  • 6 Months Later - reviews
  • Compari.ro - compare prices
  • Pricy - compare prices
  • Recorder
  • Threat Interactive YT - proper 3D optimization
  • Windows 10 Debloater
  • 12ft.io - remove popups
  • Cultist's network power supply tier list
  • Passmark - CPU's
  • Passmark - GPU's
  • SSD tier list by VEXICUS
  • GamersNexus - top-notch tech journalism
  • Windy weather
  • Mermaid diagram tool

Powered by

Drupal Litespeed MySql PHP Javascript Search API Paragraphs
Description

\$form\[[A-Za-z0-9\-_']*\](\[[A-Za-z0-9\-_']*\])*(?![\[])

Tags
  • Regex
  • Solution

Recently posted

more

Convert a Drupal website to use composer

Display taxonomy term name or other fields without encoding (especially without encoded &'s)

How to create a new managed file in Drupal 10

Fix "Could not scan for classes inside "/var/www/$PROJECT/web/core/lib/Drupal.php" which does not appear to be a file nor a folder."

Override view field handler class in Drupal 8.9.20

Get Drupal issue link from patch link

  • Loading more...