Skip to content

Commit

Permalink
Merge pull request #163 from KB-iGOT/spv-pagination-Issue
Browse files Browse the repository at this point in the history
Regex Updated for title as per requested by product team
  • Loading branch information
vishnubansaltarento authored Jan 17, 2025
2 parents 7e4379e + 2eda083 commit 8b981fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class CreateEventComponent implements OnInit {
toastSuccess: any
pictureObj: any
myreg = /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/
eventTitleRegex = /^(?!.*([',:])\1)(?!.*[,:']{3})[a-zA-Z0-9\s',:]*$/
eventTitleRegex = /^[a-zA-Z0-9\s',:]*$/

// myreg = /^(http|https:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class EditEventComponent implements OnInit {
toastSuccess: any
pictureObj: any
myreg = /^(https?|http):\/\/[^\s/$.?#].[^\s]*$/
eventTitleRegex = /^(?!.*([',:])\1)(?!.*[,:']{3})[a-zA-Z0-9\s',:]*$/
eventTitleRegex = /^[a-zA-Z0-9\s',:]*$/
// myreg = /(^|\s)((https?:\/\/)?[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?)/gi
// myreg = /^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/

Expand Down

0 comments on commit 8b981fd

Please sign in to comment.