function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mdinatalemdinatale 

Newbie Return numeric only in a trigger

Is there a way in a trigger to only return numeric from a text string? Trying to do some field validation. Thanks

craigmhcraigmh
kiranmutturukiranmutturu

use pattern and matcher object in apex to identify the number from the text......