The document describes a method for detecting QRS complexes in ECG signals using an automated Bayesian regularization neural network. The method involves preprocessing the ECG data using a Kaiser window bandpass filter and differentiator to remove noise and baseline drift. A feedforward neural network is then trained using Bayesian regularization to learn the characteristics of QRS complexes and detect R peaks. The algorithm achieved high performance with 98.5% detection rate, 98.41% sensitivity and 98.6% positive predictivity.